package Qimo;

public class YinYue extends Thread{
    @Override
    public void run() {
        for (int i = 0; i <100;) {
            i+=10;
            System.out.println(Thread.currentThread().getName()+"下载了"+i+"%");
            if (i==100){
                System.out.println(Thread.currentThread().getName()+"下载成功");
            }
        }
    }
}
